<div class="containFt main history-orders" v-if="show">
	
	<div class="history-orders-ct">
		<!--<div class="top-nav row">
			<div class="col" :class="{'selected':isToday}" v-on:click="switchTab(1)">当日</div>
			<div class="col" :class="{'selected':!isToday}" v-on:click="switchTab(0)">历史</div>
		</div>-->
	
		<div v-show="isToday">
			<table class="tb" id="today-list">
				<thead>
					<tr>
						<th class="c">类型</th>
						<th class="t tr">变动资金</th>
						<th class="t tr">变动后金额</th>
					</tr>
				</thead>
				<tr v-for="order in rows">
					<td class="tl" style="width: 30%;">{{order.fundflowtype|getType}}<br />{{order.changetime}}</td>
					<td class="tr" >{{order.changefund|moneyFormat(2)}}</td>
					<td class="tr">{{order.balance|moneyFormat(2)}}</td>
				</tr>
			</table>
			
			<div class="center-middle couponNone" v-show="noMoreNow">
				<img src="/static/img/none_content.png"/>
				<p class="tc">没有更多记录</p>
			</div>
		</div>
		
		<!--历史-->
		<div v-show="!isToday">
			<div class="search row">
				<div class="time tc">
					<input type="date" v-model="startTime" id="startdate" name="startdate" v-model="form.startTime">
					  <span>至</span>
			        <input type="date" value="2016-07-31" id="enddate" name="enddate" v-model="form.endTime">
				</div>
				<div @click="query()" class="common-btn">查询</div>
			</div>
			<table class="tb" id="today-list">
				<thead>
					<tr>
						<th class="c">类型</th>
						<th class="t tr">变动资金</th>
						<th class="t tr">变动后金额</th>
					</tr>
				</thead>
				<tr v-for="order in rowsHistory">
					<td class="tl" style="width: 30%;">{{order.fundflowtype|getType}}<br />{{order.changetime}}</td>
					<td class="tr" >{{order.changefund|moneyFormat(2)}}</td>
					<td class="tr">{{order.balance|moneyFormat(2)}}</td>
				</tr>
			</table>
			<input class="long-btn" type="button" value="查看更多" @click="query(1)" v-show="showMore.history" />
			<div class="center-middle couponNone" v-show="noMoreHis">
				<img src="/static/img/none_content.png"/>
				<p class="tc">没有更多记录</p>
			</div>
		</div>
		
		
	
	</div>

	<div class="loadingCt" id="loading" v-show="loading"></div>

</div>
<!-- main -->